package com.juneng.mapper;

import com.juneng.entity.OrderMsg;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.juneng.dto.OrderMsgQueryDto;
import com.juneng.vo.OrderMsgVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单商品信息 Mapper 接口
 *
 * @author zds
 * @since 2021-07-31
 */
public interface OrderMsgMapper extends BaseMapper<OrderMsg> {
    IPage<OrderMsgVo> page(IPage page, @Param("dto") OrderMsgQueryDto dto);

    List<OrderMsg> getByOrderId(@Param("dto") OrderMsgQueryDto dto);
}
